package com.fita.wechat.entity;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.demo2do.core.utils.DateFormatUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fita.entity.order.PayType;

public class Shopping {
    
private Long countryId;
    
    private Long supplierId;
    
    private PayType type;
    
    private Long pickupLocation;
    
    private Long returnLocation;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm")
    private Date pickupDate;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm")
    private Date returnDate;
    
    private Integer driveAge;
    
    private Long setId;
    
    private String categoryCode;
    
    private String sizeCode;
    
    private String doorCount;
    
    private Boolean airConditionIn;
    
    /**
     * 手动/自动
     */
    private String transmissionType;
    
    /**
     * 车型名称
     */
    private String modelName;
    
    private String modelCode;
    
    private String picture;
    
    /**
     * 乘客数量
     */
    private String passengerQuantity;
    
    /**
     * 气囊
     */
    private Integer baggageQuantity;
    
    private BigDecimal totalAmount;
    
    private BigDecimal esimatedTotalAmount;
    
    private BigDecimal retailAmount;
    
    private String currencyCode;
    
    private String specialEquipments;
    
    private String lastName;
    
    private String firstName;
    
    private String userPhone;
    
    private String userEmail;
    
    private String airportNumber;
    
    private String includeOrderFeeId;
    
    private String unIncludeOrderFeeId;
    
    private String vehicleChargeId;
    
    private String rateQualifier;
    
    /**
     * The default constructor
     */
    public Shopping() {
    }
    
    public String getPickupDateTime() {
        return DateFormatUtils.format(pickupDate, "MM-dd HH:mm");
    }
    
    public String getPickupDateString() {
        return DateFormatUtils.format(pickupDate, "yyyy-MM-dd HH:mm:ss");
    }
    
    public String getReturnDateTime() {
        return DateFormatUtils.format(returnDate, "MM-dd HH:mm");
    }
    
    public String getReturnDateString() {
        return DateFormatUtils.format(pickupDate, "yyyy-MM-dd HH:mm:ss");
    }

    /**
     * @return the countryId
     */
    public Long getCountryId() {
        return countryId;
    }

    /**
     * @return the supplierId
     */
    public Long getSupplierId() {
        return supplierId;
    }

    /**
     * @return the type
     */
    public PayType getType() {
        return type;
    }

    /**
     * @return the pickupLocation
     */
    public Long getPickupLocation() {
        return pickupLocation;
    }

    /**
     * @return the returnLocation
     */
    public Long getReturnLocation() {
        return returnLocation;
    }

    /**
     * @return the pickupDate
     */
    public Date getPickupDate() {
        return pickupDate;
    }

    /**
     * @return the returnDate
     */
    public Date getReturnDate() {
        return returnDate;
    }

    /**
     * @return the driveAge
     */
    public Integer getDriveAge() {
        return driveAge;
    }

    /**
     * @return the setId
     */
    public Long getSetId() {
        return setId;
    }

    /**
     * @return the categoryCode
     */
    public String getCategoryCode() {
        return categoryCode;
    }

    /**
     * @return the sizeCode
     */
    public String getSizeCode() {
        return sizeCode;
    }

    /**
     * @return the doorCount
     */
    public String getDoorCount() {
        return doorCount;
    }

    /**
     * @return the airConditionIn
     */
    public Boolean getAirConditionIn() {
        return airConditionIn;
    }

    /**
     * @return the transmissionType
     */
    public String getTransmissionType() {
        return transmissionType;
    }

    /**
     * @return the modelName
     */
    public String getModelName() {
        return modelName;
    }

    /**
     * @return the modelCode
     */
    public String getModelCode() {
        return modelCode;
    }

    /**
     * @return the picture
     */
    public String getPicture() {
        return picture;
    }

    /**
     * @return the passengerQuantity
     */
    public String getPassengerQuantity() {
        return passengerQuantity;
    }

    /**
     * @return the baggageQuantity
     */
    public Integer getBaggageQuantity() {
        return baggageQuantity;
    }

    /**
     * @return the totalAmount
     */
    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    /**
     * @return the esimatedTotalAmount
     */
    public BigDecimal getEsimatedTotalAmount() {
        return esimatedTotalAmount;
    }

    /**
     * @return the retailAmount
     */
    public BigDecimal getRetailAmount() {
        return retailAmount;
    }

    /**
     * @return the currencyCode
     */
    public String getCurrencyCode() {
        return currencyCode;
    }

    /**
     * @return the specialEquipments
     */
    public String getSpecialEquipments() {
        return specialEquipments;
    }

    /**
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @return the firstName
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * @return the userPhone
     */
    public String getUserPhone() {
        return userPhone;
    }

    /**
     * @return the userEmail
     */
    public String getUserEmail() {
        return userEmail;
    }

    /**
     * @return the airportNumber
     */
    public String getAirportNumber() {
        return airportNumber;
    }

    /**
     * @return the includeOrderFeeId
     */
    public String getIncludeOrderFeeId() {
        return includeOrderFeeId;
    }

    /**
     * @return the unIncludeOrderFeeId
     */
    public String getUnIncludeOrderFeeId() {
        return unIncludeOrderFeeId;
    }

    /**
     * @return the rateQualifier
     */
    public String getRateQualifier() {
        return rateQualifier;
    }

    /**
     * @param countryId the countryId to set
     */
    public void setCountryId(Long countryId) {
        this.countryId = countryId;
    }

    /**
     * @param supplierId the supplierId to set
     */
    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    /**
     * @param type the type to set
     */
    public void setType(PayType type) {
        this.type = type;
    }

    /**
     * @param pickupLocation the pickupLocation to set
     */
    public void setPickupLocation(Long pickupLocation) {
        this.pickupLocation = pickupLocation;
    }

    /**
     * @param returnLocation the returnLocation to set
     */
    public void setReturnLocation(Long returnLocation) {
        this.returnLocation = returnLocation;
    }

    /**
     * @param pickupDate the pickupDate to set
     */
    public void setPickupDate(Date pickupDate) {
        this.pickupDate = pickupDate;
    }

    /**
     * @param returnDate the returnDate to set
     */
    public void setReturnDate(Date returnDate) {
        this.returnDate = returnDate;
    }

    /**
     * @param driveAge the driveAge to set
     */
    public void setDriveAge(Integer driveAge) {
        this.driveAge = driveAge;
    }

    /**
     * @param setId the setId to set
     */
    public void setSetId(Long setId) {
        this.setId = setId;
    }

    /**
     * @param categoryCode the categoryCode to set
     */
    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    /**
     * @param sizeCode the sizeCode to set
     */
    public void setSizeCode(String sizeCode) {
        this.sizeCode = sizeCode;
    }

    /**
     * @param doorCount the doorCount to set
     */
    public void setDoorCount(String doorCount) {
        this.doorCount = doorCount;
    }

    /**
     * @param airConditionIn the airConditionIn to set
     */
    public void setAirConditionIn(Boolean airConditionIn) {
        this.airConditionIn = airConditionIn;
    }

    /**
     * @param transmissionType the transmissionType to set
     */
    public void setTransmissionType(String transmissionType) {
        this.transmissionType = transmissionType;
    }

    /**
     * @param modelName the modelName to set
     */
    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    /**
     * @param modelCode the modelCode to set
     */
    public void setModelCode(String modelCode) {
        this.modelCode = modelCode;
    }

    /**
     * @param picture the picture to set
     */
    public void setPicture(String picture) {
        this.picture = picture;
    }

    /**
     * @param passengerQuantity the passengerQuantity to set
     */
    public void setPassengerQuantity(String passengerQuantity) {
        this.passengerQuantity = passengerQuantity;
    }

    /**
     * @param baggageQuantity the baggageQuantity to set
     */
    public void setBaggageQuantity(Integer baggageQuantity) {
        this.baggageQuantity = baggageQuantity;
    }

    /**
     * @param totalAmount the totalAmount to set
     */
    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * @param esimatedTotalAmount the esimatedTotalAmount to set
     */
    public void setEsimatedTotalAmount(BigDecimal esimatedTotalAmount) {
        this.esimatedTotalAmount = esimatedTotalAmount;
    }

    /**
     * @param retailAmount the retailAmount to set
     */
    public void setRetailAmount(BigDecimal retailAmount) {
        this.retailAmount = retailAmount;
    }

    /**
     * @param currencyCode the currencyCode to set
     */
    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    /**
     * @param specialEquipments the specialEquipments to set
     */
    public void setSpecialEquipments(String specialEquipments) {
        this.specialEquipments = specialEquipments;
    }

    /**
     * @param lastName the lastName to set
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * @param firstName the firstName to set
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * @param userPhone the userPhone to set
     */
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    /**
     * @param userEmail the userEmail to set
     */
    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    /**
     * @param airportNumber the airportNumber to set
     */
    public void setAirportNumber(String airportNumber) {
        this.airportNumber = airportNumber;
    }

    /**
     * @param includeOrderFeeId the includeOrderFeeId to set
     */
    public void setIncludeOrderFeeId(String includeOrderFeeId) {
        this.includeOrderFeeId = includeOrderFeeId;
    }

    /**
     * @param unIncludeOrderFeeId the unIncludeOrderFeeId to set
     */
    public void setUnIncludeOrderFeeId(String unIncludeOrderFeeId) {
        this.unIncludeOrderFeeId = unIncludeOrderFeeId;
    }

    /**
     * @param rateQualifier the rateQualifier to set
     */
    public void setRateQualifier(String rateQualifier) {
        this.rateQualifier = rateQualifier;
    }

	/**
	 * @return the vehicleChargeId
	 */
	public String getVehicleChargeId() {
		return vehicleChargeId;
	}

	/**
	 * @param vehicleChargeId the vehicleChargeId to set
	 */
	public void setVehicleChargeId(String vehicleChargeId) {
		this.vehicleChargeId = vehicleChargeId;
	}
    
}
